package com.thouiot.modbus;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @description modbus 模块启动类
 * @author wangkai
 * @date 2025/04/15 09:28
 */
@Configuration
@ComponentScan(basePackageClasses = ThouiotModbusRunner.class)
public class ThouiotModbusRunner implements CommandLineRunner {

    private static final Logger log = LoggerFactory.getLogger(ThouiotModbusRunner.class);

    @Override
    public void run(String... args) throws Exception {
        log.info("thouiot modbus init...");
    }
}
